package com.robot.dao.entity;

import com.baomidou.mybatisplus.annotation.*;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.io.Serializable;
import java.time.LocalDateTime;

@Data
@Builder
@NoArgsConstructor
@AllArgsConstructor
@TableName(value = "robot_user_usetime", autoResultMap = true)
public class RobotUserUsetime  implements Serializable {
    @TableField(value = "id")
    @TableId(type = IdType.AUTO)
    private Long id;
    @TableField(value = "robot_id")
    private Long robotId;
    @TableField(value = "user_id")
    private Long userId;
    @TableField(value = "is_delete")
    private Long isDelete;
    @TableField(value = "last_usetime")
    private LocalDateTime lastUsetime;
    @TableField(fill = FieldFill.INSERT)
    private LocalDateTime createTime;
    @TableField(fill = FieldFill.INSERT_UPDATE)
    private LocalDateTime updateTime;
}
